Matthias Clasen [Fri, 19 Feb 2021 21:01:07 +0000 (16:01 -0500)]
infobar: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Fri, 19 Feb 2021 20:43:33 +0000 (15:43 -0500)]
progressbar: Convert docs
Change link syntax, add an example image, generally clean
things up.
Matthias Clasen [Fri, 19 Feb 2021 20:28:51 +0000 (15:28 -0500)]
levelbar: Convert docs
Change link syntax, add an example image, generally
clean things up.
Matthias Clasen [Fri, 19 Feb 2021 20:06:16 +0000 (15:06 -0500)]
spinner: Convert docs
Change link syntax and add an example image.
Matthias Clasen [Fri, 19 Feb 2021 19:50:49 +0000 (14:50 -0500)]
aboutdialog: tweak the docs
Add a short summary.
Matthias Clasen [Fri, 19 Feb 2021 19:47:44 +0000 (14:47 -0500)]
label: Convert docs
Change link syntax, add singl-line summaries,
add missing property docs.
Matthias Clasen [Fri, 19 Feb 2021 18:03:20 +0000 (13:03 -0500)]
docs: Bring the widget gallery back
We have all the images, lets put them to use.
Emmanuele Bassi [Thu, 18 Feb 2021 18:28:48 +0000 (18:28 +0000)]
docs: Remove the last few remaining '+' from GTK
Emmanuele Bassi [Thu, 18 Feb 2021 18:17:56 +0000 (18:17 +0000)]
docs: Clean up the first paragraph for various symbols
The documentation engine will use the first paragraph as the summary for
a type or constant.
Emmanuele Bassi [Thu, 18 Feb 2021 17:30:03 +0000 (17:30 +0000)]
docs: Show summary in the namespace index
Emmanuele Bassi [Thu, 18 Feb 2021 17:02:51 +0000 (17:02 +0000)]
docs: Start porting GtkImage to the new style
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:55 +0000 (13:38 +0000)]
docs: Port GtkAboutDialog to the new syntax
We should also clean up the annotations, while we're at it.
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:29 +0000 (13:38 +0000)]
build: Quiet down gi-docgen
We are only interested in the warnings and errors.
Emmanuele Bassi [Wed, 17 Feb 2021 17:52:20 +0000 (17:52 +0000)]
docs: Fix up the style of the X11 content file
Emmanuele Bassi [Wed, 17 Feb 2021 17:41:56 +0000 (17:41 +0000)]
docs: Move detached sections into their own content file
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:54 +0000 (14:22 +0000)]
docs: Split GdkDrag and GdkDrop sections
This way we have a section for each class.
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:19 +0000 (14:22 +0000)]
docs: Rename GdkTexture section
The name needs to match the class.
Emmanuele Bassi [Wed, 17 Feb 2021 14:21:46 +0000 (14:21 +0000)]
docs: Move gdkcairo section to an external file
Emmanuele Bassi [Sun, 14 Feb 2021 19:36:15 +0000 (19:36 +0000)]
docs: Move the gtkmain section to its own document
The introspection data does not handle unattached sections like gtk-doc
does, so we need to move what was gtkmain into its own Markdown
document.
Emmanuele Bassi [Sun, 14 Feb 2021 19:00:12 +0000 (19:00 +0000)]
docs: Use new link syntax
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:26 +0000 (18:00 +0000)]
docs: Begin porting GtkWidget to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:00 +0000 (18:00 +0000)]
doc: Port GtkConstraint to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 17:59:05 +0000 (17:59 +0000)]
docs: De-indent GtkRecentInfo.get_applications() return value
Otherwise the four spaces will be treated as a pre-formatted block by
Markdown.
Emmanuele Bassi [Fri, 12 Feb 2021 00:19:41 +0000 (00:19 +0000)]
docs: Start porting GtkConstraintLayout to the new doc format
Drop the old gtk-doc'isms, and use the gi-docgen links instead.
Emmanuele Bassi [Wed, 10 Feb 2021 14:03:56 +0000 (14:03 +0000)]
docs: Add metadata preamble to GTK's content files
Emmanuele Bassi [Thu, 18 Feb 2021 12:59:09 +0000 (12:59 +0000)]
docs: Drop gtk-doc files
We don't use gtk-doc to generate our API reference, so we don't need its
files lying around any more.
Emmanuele Bassi [Wed, 10 Feb 2021 13:41:53 +0000 (13:41 +0000)]
Generate GTK API reference(s) with gi-docgen
Stop using gtk-doc, and switch to gi-docgen.
The gi-docgen tool generates API references through the introspection
data, which has various benefits:
- it does not parse C code
- it does not generate and run C code to introspect types at build time
- it does not present a different API from the one we're exporting
Additionally, gi-docgen:
- does not generate DocBook XML in order to generate HTML
- does not go through xsltproc
- parses proper Markdown
Which makes it markedly faster than gtk-doc has ever been.
Emmanuele Bassi [Wed, 10 Feb 2021 13:38:51 +0000 (13:38 +0000)]
Add gi-docgen as a subproject
While we're developing gi-docgen it's better to have it as part of our
build.
Emmanuele Bassi [Mon, 15 Feb 2021 18:02:53 +0000 (18:02 +0000)]
ci: Update the fedora-docs Docker image
Use the latest base image.
Emmanuele Bassi [Mon, 15 Feb 2021 16:43:10 +0000 (16:43 +0000)]
ci: Update the CI image for docs building
We don't use Pandoc any more, but we need a bunch of Python modules for
gi-docgen.
Emmanuele Bassi [Mon, 15 Feb 2021 00:56:35 +0000 (00:56 +0000)]
ci: Update the reference job
Emmanuele Bassi [Mon, 15 Feb 2021 16:42:07 +0000 (16:42 +0000)]
Rename base version argument in run-docker.sh
The `--base-version` argument trips up everyone. Might as well rename it
to `--version`.
Matthias Clasen [Thu, 11 Mar 2021 14:25:53 +0000 (14:25 +0000)]
Merge branch 'fix-menubutton-tooltips' into 'master'
Limit tooltip queries to the same native
Closes #3719
See merge request GNOME/gtk!3283
Matthias Clasen [Thu, 11 Mar 2021 13:56:05 +0000 (08:56 -0500)]
Limit tooltip queries to the same native
Without this, the menubuttons tooltip pops up
when hovering the popover, which is suprising
and unintended.
Fixes: #3719
Matthias Clasen [Thu, 11 Mar 2021 01:09:39 +0000 (01:09 +0000)]
Merge branch 'gdk-win32-use-window-from-point-for-master' into 'master'
GdkWin32: Fix mouse events in presence of transparent windows on the desktop
Closes #370, #417, and gimp#1082
See merge request GNOME/gtk!2800
Matthias Clasen [Tue, 9 Mar 2021 23:59:05 +0000 (23:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
inspector: Fix surface transform regression
See merge request GNOME/gtk!3280
Matthias Clasen [Tue, 9 Mar 2021 22:42:59 +0000 (17:42 -0500)]
inspector: Fix surface transform regression
Ever since we added surface-to-widget transforms,
the autofading of the fps overlay did not work anymore,
since it was given the transient transform node, most
of the time.
Fix this by passing both the root of the node tree and
the node for the toplevel widget to prepare_render, and
hande the widget node to the overlays. Update the
affected overlays that need to have their positioning
adjusted.
Мирослав Николић [Tue, 9 Mar 2021 21:23:01 +0000 (21:23 +0000)]
Update Serbian translation
(cherry picked from commit
f33a2febc7df6ec9c7721361f94121c2db079057)
Benjamin Otte [Tue, 9 Mar 2021 19:11:09 +0000 (19:11 +0000)]
Merge branch 'wip/otte/for-master' into 'master'
Wip/otte/for master
See merge request GNOME/gtk!3279
Benjamin Otte [Tue, 9 Mar 2021 18:52:59 +0000 (19:52 +0100)]
wayland: Fix memleaks when rendering with Cairo
We were leaking buffers. This wasn't caught by valgrind and friends
because it was shared memory (with the compositor), but top(1) would
instantly see memory consumption of the app and the shell go through the
roof.
Benjamin Otte [Tue, 9 Mar 2021 18:50:56 +0000 (19:50 +0100)]
wayland: Don't call _gdk_surface_update_size() all the time
We were calling _gdk_surface_update_size() every frame, even if the
window size didn't change. This would cause us to discard all cached
buffers and redraw the whole screen.
This was BAD.
Matthias Clasen [Tue, 9 Mar 2021 17:56:57 +0000 (17:56 +0000)]
Merge branch 'ngl-rect-borders' into 'master'
Speed up border rendering
See merge request GNOME/gtk!3278
Matthias Clasen [Tue, 9 Mar 2021 05:43:47 +0000 (00:43 -0500)]
nodeparser: Print debug message before child
This puts the message up top, where it can be seen,
and not at the other end of an endless tree of children.
Update tests to match.
Matthias Clasen [Tue, 9 Mar 2021 02:37:28 +0000 (21:37 -0500)]
ngl: Render simple borders simply
Use 4 color commands for uniform, rectilinear
borders. Most of our borders are rounded with
Adwaita, but there are still some of these.
Matthias Clasen [Tue, 9 Mar 2021 02:36:41 +0000 (21:36 -0500)]
gsk: Add gsk_border_node_get_uniform_color
Maintain this bit of information separately,
it will be useful in the next commit.
Benjamin Otte [Sat, 6 Mar 2021 19:44:38 +0000 (20:44 +0100)]
vulkan: Improve rounded rect clipping
Handle the case where the inner rounded rect is fully contained
within the outer rounded rect.
Benjamin Otte [Sat, 6 Mar 2021 19:43:52 +0000 (20:43 +0100)]
vulkan: Fix invalid read
Look at the right rect to compute circularness
Matthias Clasen [Tue, 9 Mar 2021 03:00:18 +0000 (03:00 +0000)]
Merge branch 'meson-override-dep' into 'master'
meson: override gtk4 dependency
See merge request GNOME/gtk!3277
Xavier Claessens [Tue, 9 Mar 2021 02:06:33 +0000 (21:06 -0500)]
meson: override gtk4 dependency
This allows applications that depends on gtk4 to build it as subproject
without hardcoding 'gtk_dep' variable name in their build definition.
Matthias Clasen [Tue, 9 Mar 2021 00:12:11 +0000 (00:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!3276
Matthias Clasen [Mon, 8 Mar 2021 23:07:18 +0000 (23:07 +0000)]
Merge branch 'bilelmoussaoui/size-request-annotations' into 'master'
g-i: update distribute_natural_allocation annotation
See merge request GNOME/gtk!3271
Matthias Clasen [Mon, 8 Mar 2021 21:04:53 +0000 (16:04 -0500)]
node-format: Small docs fixes
Matthias Clasen [Tue, 24 Nov 2020 18:42:29 +0000 (13:42 -0500)]
spinbutton: Interpret localized digits
Interpret input where the characters have numeric values.
See #3387
Matthias Clasen [Mon, 8 Mar 2021 20:20:50 +0000 (20:20 +0000)]
Merge branch 'ngl-clip-classification' into 'master'
Ngl clip classification
See merge request GNOME/gtk!3274
Matthias Clasen [Mon, 8 Mar 2021 15:03:21 +0000 (10:03 -0500)]
glsl: Make rounded rect clipping cheaper
Add early acceptance checks for non-corner cases.
Matthias Clasen [Mon, 8 Mar 2021 13:38:12 +0000 (13:38 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Revert "ngl: Remove a few redundant checks"
See merge request GNOME/gtk!3273
Matthias Clasen [Mon, 8 Mar 2021 13:10:25 +0000 (08:10 -0500)]
Revert "ngl: Remove a few redundant checks"
This reverts commit
4375f8e382ef035d970dd255f56d1a7470c1a78c.
These were not redundant after all, as pointed out by Timm.
Matthias Clasen [Mon, 8 Mar 2021 02:28:19 +0000 (21:28 -0500)]
Add some more rounded rect tests
Matthias Clasen [Sun, 7 Mar 2021 22:51:42 +0000 (17:51 -0500)]
gsk: Use clip defines in shaders
Use the NO_CLIP and RECT_CLIP defines to make
simpler shaders for these cases.
Note: This does not work yet.
Matthias Clasen [Sun, 7 Mar 2021 22:50:19 +0000 (17:50 -0500)]
ngl: Add infrastructure for clip-variants of shaders
Make ngl compile each shader three times.
Once with #define NO_CLIP 1
once with #define RECT_CLIP 1
and once as before.
Matthias Clasen [Sun, 7 Mar 2021 15:02:46 +0000 (10:02 -0500)]
ngl: Classify clips
Maintain the 'fully contained' information in the clip
stack. This will let us pick simpler shaders in the future.
Matthias Clasen [Sun, 7 Mar 2021 20:22:14 +0000 (20:22 +0000)]
Merge branch 'ebassi/iface-macros' into 'master'
Remove invalid class macros
See merge request GNOME/gtk!3270
Matthias Clasen [Sun, 7 Mar 2021 19:35:44 +0000 (14:35 -0500)]
Move gtk_rounded_rect_scale_affine to the right place
This function should live with the rest of the
GskRoundedRect code in gskroundedrect.c.
Matthias Clasen [Sun, 7 Mar 2021 20:16:04 +0000 (15:16 -0500)]
imcontext: Fix a docs mishap
Bilal Elmoussaoui [Sun, 7 Mar 2021 19:59:01 +0000 (20:59 +0100)]
g-i: update distribute_natural_allocation annotation
Matthias Clasen [Sun, 7 Mar 2021 19:46:59 +0000 (19:46 +0000)]
Merge branch 'bilelmoussaoui/gi-annotations' into 'master'
g-i: add missing since annotations for 4.2
See merge request GNOME/gtk!3268
Bilal Elmoussaoui [Sun, 7 Mar 2021 15:51:38 +0000 (16:51 +0100)]
g-i: add missing since annotations for 4.2
Matthias Clasen [Sun, 7 Mar 2021 18:43:50 +0000 (18:43 +0000)]
Merge branch 'scalable-svg' into 'master'
icons: Rename two icons which had the wrong extension
See merge request GNOME/gtk!3269
Emmanuele Bassi [Sun, 7 Mar 2021 18:34:53 +0000 (18:34 +0000)]
docs: Remove invalid macros
Emmanuele Bassi [Sun, 7 Mar 2021 18:26:31 +0000 (18:26 +0000)]
treesortable: Remove class check macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:25:55 +0000 (18:25 +0000)]
orientable: Remove class macros
Emmanuele Bassi [Sun, 7 Mar 2021 18:25:07 +0000 (18:25 +0000)]
celleditable: Remove class cast check macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:23:23 +0000 (18:23 +0000)]
buildable: Remove "class" macro
Emmanuel Gil Peyrot [Sun, 7 Mar 2021 17:58:57 +0000 (18:58 +0100)]
icons: Rename two icons which had the wrong extension
Fixes two warnings when opening the inspector on my PinePhone, these two
files were attempted to be loaded as PNG (as per the extension) instead
of SVG.
Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Christian Hergert [Sun, 7 Mar 2021 15:59:59 +0000 (15:59 +0000)]
Merge branch 'ngl-misc-fixes' into 'master'
Ngl misc fixes
See merge request GNOME/gtk!3267
Rūdolfs Mazurs [Sun, 7 Mar 2021 15:26:09 +0000 (15:26 +0000)]
Update Latvian translation
(cherry picked from commit
1d62020a1912c410a24879922c34284f8a534e54)
Matthias Clasen [Sun, 7 Mar 2021 15:17:34 +0000 (10:17 -0500)]
ngl: Treat radial gradients like others
Handle colorstop overflow for radial gradients
the same way we do for linear and conic gradients.
Matthias Clasen [Sun, 7 Mar 2021 15:16:56 +0000 (10:16 -0500)]
ngl: Remove a few redundant checks
We bail early on invisible nodes. No need to
repeat that check in individual visit functions.
Matthias Clasen [Sun, 7 Mar 2021 14:59:57 +0000 (14:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Revert "flatpak: No need to build sassc anymore"
See merge request GNOME/gtk!3266
Matthias Clasen [Sun, 7 Mar 2021 14:04:43 +0000 (09:04 -0500)]
roundedrect: Remove unclear language from the docs
The various intersection function for rounded rects are
precise. No need to add wordy disclaimers about the handling
of the corners.
Matthias Clasen [Sat, 6 Mar 2021 21:00:03 +0000 (16:00 -0500)]
Revert "flatpak: No need to build sassc anymore"
This reverts commit
9a540841fd5c18394456a3dfcfde721a69ed4724.
Matthias Clasen [Sat, 6 Mar 2021 19:29:50 +0000 (19:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
vulkan: Add visible fallback rendering
See merge request GNOME/gtk!3264
Guillaume Bernard [Sat, 6 Mar 2021 18:49:22 +0000 (18:49 +0000)]
Update French translation
(cherry picked from commit
5b18df9b5ebe2a8786c53a62b63ba84c1a1fd3a3)
Мирослав Николић [Sat, 6 Mar 2021 18:43:30 +0000 (18:43 +0000)]
Update Serbian translation
(cherry picked from commit
b9a451423fe54e8f93fd39d8ef01f4fb835b4655)
Changwoo Ryu [Sat, 6 Mar 2021 18:11:19 +0000 (18:11 +0000)]
Update Korean translation
(cherry picked from commit
60a714a25ff40a36f969b154d04036c56dbf067f)
Jordi Mas [Sat, 6 Mar 2021 08:44:50 +0000 (09:44 +0100)]
Update Catalan translation
Benjamin Otte [Sat, 6 Mar 2021 00:35:04 +0000 (19:35 -0500)]
vulkan: Handle simple transforms in the clipping code
Requires pushing the GskTransform into the clipping code so that we
can actually look at its category.
Matthias Clasen [Fri, 5 Mar 2021 23:39:22 +0000 (18:39 -0500)]
vulkan: Add visible fallback rendering
Hook up the "Show fallback rendering" switch for Vulkan.
This brings home the sobering truth that the Vulkan renderer
is doing *all* fallback, since we switched from offset nodes
to transform nodes.
Matthias Clasen [Fri, 5 Mar 2021 20:30:54 +0000 (20:30 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!3263
Matthias Clasen [Thu, 4 Mar 2021 15:05:19 +0000 (10:05 -0500)]
searchentry: Typo fix
Matthias Clasen [Fri, 5 Mar 2021 20:06:20 +0000 (15:06 -0500)]
flatpak: Fix the gtk4-demo build
This was overlooked in
8e7e821033abb291391c26aa288a8.
Matthias Clasen [Fri, 5 Mar 2021 19:41:39 +0000 (19:41 +0000)]
Merge branch 'wip/exalm/window-shadow-dark-4' into 'master'
Adwaita: Use transparent black for window border in dark too
See merge request GNOME/gtk!3261
Matthias Clasen [Fri, 5 Mar 2021 19:11:36 +0000 (19:11 +0000)]
Merge branch 'wip/jimmac/fix-flatpak-build' into 'master'
Flatpak: Update build manifests
See merge request GNOME/gtk!3259
Alexander Mikhaylenko [Fri, 5 Mar 2021 17:59:25 +0000 (22:59 +0500)]
Adwaita: Use transparent black for window border in dark too
Avoid smear when the background behind the window is dark. Adjust opacity
to make it appear roughly the same as before on white background.
Matthias Clasen [Fri, 5 Mar 2021 17:17:04 +0000 (17:17 +0000)]
Merge branch 'wip/jimmac/sidebar-focus' into 'master'
Adwaita: Regular focus ring for sidebar rows
Closes #3708
See merge request GNOME/gtk!3258
Jakub Steiner [Fri, 5 Mar 2021 17:00:17 +0000 (18:00 +0100)]
Flatpak: Update build manifests
- point to the upstream repo for wayland
- disable disabling of sassc
- switch wayland from autotools to meson
Jakub Steiner [Fri, 5 Mar 2021 11:16:10 +0000 (12:16 +0100)]
Adwaita: Regular focus ring for sidebar rows
- style sidebar rows as regular items like buttons wrt focus
- define transition as part of the focus-ring(),
only animate outline related properties rather than `all`
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3708
Kukuh Syafaat [Fri, 5 Mar 2021 11:52:39 +0000 (11:52 +0000)]
Update Indonesian translation
(cherry picked from commit
e54dc87a152aa7379aa015e9fc5ea3aaa793c231)
Matthias Clasen [Fri, 5 Mar 2021 01:11:11 +0000 (01:11 +0000)]
Merge branch 'iconbrowser-fix' into 'master'
iconbrowser: fix search<>category interaction
Closes #3717
See merge request GNOME/gtk!3257
Matthias Clasen [Thu, 4 Mar 2021 21:13:46 +0000 (16:13 -0500)]
iconbrowser: fix search<>category interaction
Make search act like a separate, filtered view of
all icons. This is how it worked in gtk3, and how
it should be.
Fixes: #3717